package com.cloud.lan.integration.submail.mms.entity;

import lombok.Data;

import java.util.List;

/**
 * Created by zhouquan on 2022/4/3.
 */
@Data
public class MmsTemplateQueryRes extends MmsTemplateHandleRes{

    private List<MmsTemplateModel> templates;

    private MmsTemplateModel template;

    public static MmsTemplateQueryRes error(String code, String msg){
        MmsTemplateQueryRes queryRes = new MmsTemplateQueryRes();
        queryRes.setStatus("error");
        queryRes.setCode(code);
        queryRes.setMsg(msg);
        return queryRes;
    }
}
